
import 'package:json_annotation/json_annotation.dart';
part 'village_access_card_response.g.dart';

@JsonSerializable()
class VillageAccessCardInfoListResult {
  VillageAccessCardInfoListResult();

  List<VillageAccessCardInfoResult> data;

  //不同的类使用不同的mixin即可
  factory VillageAccessCardInfoListResult.fromJson(Map<String, dynamic> json) =>
      _$VillageAccessCardInfoListResultFromJson(json);
  Map<String, dynamic> toJson() => _$VillageAccessCardInfoListResultToJson(this);
}

@JsonSerializable()
class VillageAccessCardInfoResult {
  VillageAccessCardInfoResult();

String buildingCode;
String cardNo;
String cardType;
String cardTypeDesc;
String endTimeDesc;
String itemCode;
String levelCodeDesc;
String ownerName;
String roomCode;
String useStatusDesc;
String villageName;
int cardId;
int createTime;
int endTime;
int ownerId;
int roomId;
int useStatus;
int villageId;

  //不同的类使用不同的mixin即可
  factory VillageAccessCardInfoResult.fromJson(Map<String, dynamic> json) =>
      _$VillageAccessCardInfoResultFromJson(json);
  Map<String, dynamic> toJson() =>
      _$VillageAccessCardInfoResultToJson(this);
}
